Skip to content

blk dma iter for metadata#48

Closed
blktests-ci[bot] wants to merge 15 commits intofor-next_basefrom
series/984121=>for-next
Closed

blk dma iter for metadata#48
blktests-ci[bot] wants to merge 15 commits intofor-next_basefrom
series/984121=>for-next

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented Jul 23, 2025

Pull request for series with
subject: blk dma iter for metadata
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=984121

axboe and others added 15 commits July 21, 2025 06:46
* block-6.16:
  block: fix module reference leak in mq-deadline I/O scheduler
* for-6.17/io_uring: (39 commits)
  io_uring: fix breakage in EXPERT menu
  io_uring/cmd: remove struct io_uring_cmd_data
  btrfs/ioctl: store btrfs_uring_encoded_data in io_btrfs_cmd
  io_uring/cmd: introduce IORING_URING_CMD_REISSUE flag
  io_uring/zcrx: account area memory
  io_uring: export io_[un]account_mem
  io_uring/net: Support multishot receive len cap
  io_uring: deduplicate wakeup handling
  io_uring/net: cast min_not_zero() type
  io_uring/poll: cleanup apoll freeing
  io_uring/net: allow multishot receive per-invocation cap
  io_uring/net: move io_sr_msg->retry_flags to io_sr_msg->flags
  io_uring/net: use passed in 'len' in io_recv_buf_select()
  io_uring/zcrx: prepare fallback for larger pages
  io_uring/zcrx: assert area type in io_zcrx_iov_page
  io_uring/zcrx: allocate sgtable for umem areas
  io_uring/zcrx: introduce io_populate_area_dma
  io_uring/zcrx: return error from io_zcrx_map_area_*
  io_uring/zcrx: always pass page to io_zcrx_copy_chunk
  io_uring/rw: cast rw->flags assignment to rwf_t
  ...
* for-6.17/block: (77 commits)
  dm: split write BIOs on zone boundaries when zone append is not emulated
  block: use chunk_sectors when evaluating stacked atomic write limits
  dm-stripe: limit chunk_sectors to the stripe size
  md/raid10: set chunk_sectors limit
  md/raid0: set chunk_sectors limit
  block: sanitize chunk_sectors for atomic write limits
  ilog2: add max_pow_of_two_factor()
  block: fix blk_zone_append_update_request_bio() kernel-doc
  ublk: remove unused req argument from ublk_sub_req_ref()
  selftests: ublk: add utils.h
  selftests: ublk: add helper ublk_handle_uring_cmd() for handle ublk command
  selftests: ublk: improve flags naming
  selftests: ublk: remove ublk queue self-defined flags
  selftests: ublk: pass 'ublk_thread *' to more common helpers
  selftests: ublk: pass 'ublk_thread *' to ->queue_io() and ->tgt_io_done()
  selftests: ublk: remove `tag` parameter of ->tgt_io_done()
  ublk: pass 'const struct ublk_io *' to ublk_[un]map_io()
  ublk: remove ublk_commit_and_fetch()
  ublk: add helper ublk_check_fetch_buf()
  ublk: store auto buffer register data into `struct ublk_io`
  ...
* for-6.17/io_uring:
  io_uring/zcrx: fix leaking pages on sg init fail
  io_uring/zcrx: don't leak pages on account failure
  io_uring/zcrx: fix null ifq on area destruction
* for-6.17/block:
  nvme-pci: try function level reset on init failure
  nvmet: pci-epf: Do not complete commands twice if nvmet_req_init() fails
  nvme-tcp: log TLS handshake failures at error level
  docs: nvme: fix grammar in nvme-pci-endpoint-target.rst
  nvme: fix typo in status code constant for self-test in progress
  nvmet: remove redundant assignment of error code in nvmet_ns_enable()
  nvme: fix incorrect variable in io cqes error message
  nvme: fix multiple spelling and grammar issues in host drivers
  md/raid10: fix set but not used variable in sync_request_write()
  md: allow removing faulty rdev during resync
  md/raid5: unset WQ_CPU_INTENSIVE for raid5 unbound workqueue
  md: remove/add redundancy group only in level change
  md: Don't clear MD_CLOSING until mddev is freed
  md: call del_gendisk in control path
* for-6.17/block:
  sunvdc: Balance device refcount in vdc_port_mpgroup_check
* for-6.17/block:
  cdrom: Call cdrom_mrw_exit from cdrom_release function
The req_iterator just happens to have a similar fields to what the dma
iterator needs, but we're not necessarily iterating a bio_vec here. Have
the dma iterator define its private fields directly. It also helps to
remove eyesores like "iter->iter.iter".

Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
This will make it easier to add different bvec sources, like for
upcoming integrity support. It also makes iterating "special" payloads
more common with iterating normal data bi_io_vecs.

Signed-off-by: Keith Busch <[email protected]>
In preparing for integrity dma mappings, we can't rely on the request
flag because data and metadata may have different mapping types.

Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
It's not serving any particular purpose anymore. pci_p2pdma_state()
already has all the appropriate checks, so the flag isn't guarding
anything.

Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
In preparing for dma mapping integrity metadata, move the common dma
setup to a helper.

Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Provide integrity metadata helpers equivalent to the data payload
helpers for iterating a request for dma setup.

Signed-off-by: Keith Busch <[email protected]>
Aligns data and metadata to the similar dma mapping scheme and removes
one more user of the scatter-gather dma mapping.

Signed-off-by: Keith Busch <[email protected]>
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Jul 23, 2025

Upstream branch: a8fa173
series: https://patchwork.kernel.org/project/linux-block/list/?series=984121
version: 1

@blktests-ci blktests-ci Bot force-pushed the for-next_base branch 8 times, most recently from 26415c4 to 3ffa704 Compare August 3, 2025 12:52
@blktests-ci blktests-ci Bot force-pushed the for-next_base branch 2 times, most recently from 62f402e to ca24d57 Compare August 8, 2025 12:50
@blktests-ci blktests-ci Bot force-pushed the for-next_base branch 4 times, most recently from 651764c to e438678 Compare August 13, 2025 12:53
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Aug 20, 2025

At least one diff in series https://patchwork.kernel.org/project/linux-block/list/?series=984121 irrelevant now for [{'archived': False, 'project': 241}] search patterns

@blktests-ci blktests-ci Bot closed this Aug 20, 2025
@blktests-ci blktests-ci Bot deleted the series/984121=>for-next branch August 23, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants